import { Fragment } from '@/components/Fragment'; import { TokensTypographyFontWeights, TokensTypographyFontSizes, TokensTypographyLineHeights, TokensTypographyFonts } from '@/components/Theming/TokenGroups'; ## Font weights {({ platform }) => import(`./fontWeightUsage.${platform}.mdx`)} ## Font sizes {({ platform }) => import(`./fontSizeUsage.${platform}.mdx`)} ## Line heights {({ platform }) => import(`./lineHeightsUsage.${platform}.mdx`)} ## Font families Amplify UI ships with tokens for both static and variable fonts. The benefit of a variable font is you can include many variations of the font (for weight and axes) in a single file. [Learn more about variable weight fonts in this guide from MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide)